﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CollectorAdd.aspx.cs" Inherits="park.Equipment.CollectorAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="../load.js?callback=InitAdd&release=0" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <input id="type" style="display: none;" value="add" />
    <input id="id1" style="display: none;" />
    <input id="id2" style="display: none;" />
    <div class="content_box">
        <div class="m_title">
            <span id="title">添加收集器</span></div>
        <div class="form_main">
            <table width="800px" border="0">
                <tr>
                    <td colspan="4" align="center">
                        <div style="width: 100%; text-align: center;">
                            <span>城区：</span><select id="ddl_City" onchange="CitySelected()"></select><script
                                id="full_City" type="text/x-jquery-tmpl"><option value="${id}">${name}</option></script>
                            <span>片区：</span><select id="ddl_Area" onchange="AreaSelected()"></select><script
                                id="full_Area" type="text/x-jquery-tmpl"><option value="${id}">${name}</option></script>
                            <span>街道：</span><select id="ddl_Street"></select><script id="full_Street" type="text/x-jquery-tmpl"><option value="${id}">${name}</option></script>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="td_name">
                        设备编码：
                    </td>
                    <td>
                        <input id="code1" class="text " />
                    </td>
                    <td class="td_name">
                        设备编码：
                    </td>
                    <td>
                        <input id="code2" class="text" />
                    </td>
                </tr>
                <tr>
                    <td class="td_name">
                        连接方式：
                    </td>
                    <td>
                        <input id="conn1" class="text" />
                    </td>
                    <td class="td_name">
                        连接方式：
                    </td>
                    <td>
                        <input id="conn2" class="text" />
                    </td>
                </tr>
                <tr>
                    <td class="td_name">
                        经度：
                    </td>
                    <td>
                        <input id="lng1" class="text" />
                    </td>
                    <td class="td_name">
                        经度：
                    </td>
                    <td>
                        <input id="lng2" class="text" />
                    </td>
                </tr>
                <tr>
                    <td class="td_name">
                        纬度：
                    </td>
                    <td>
                        <input id="lat1" class="text" />
                    </td>
                    <td class="td_name">
                        纬度：
                    </td>
                    <td>
                        <input id="lat2" class="text" />
                    </td>
                </tr>
                <tr>
                    <td class="td_name">
                        是否启用：
                    </td>
                    <td>
                        <input type="checkbox" id="chk1" />
                    </td>
                    <td class="td_name">
                        是否启用：
                    </td>
                    <td>
                        <input type="checkbox" id="chk2" />
                    </td>
                </tr>
                <tr>
                    <td class="td_name">
                        设为主收集器：
                    </td>
                    <td>
                        <input type="radio" id="rad1" name="main" checked="checked" />
                    </td>
                    <td class="td_name">
                        设为主收集器：
                    </td>
                    <td>
                        <input type="radio" id="rad2" name="main" />
                    </td>
                </tr>
                <tr>
                    <td colspan="4" align="center">
                        <div class="btn_box" style="width:80%; text-align:center;">
                            <input id="btnSave" type="button" class="btn02_bn" value="保存" onclick="Save();" />
                            <input id="Button1" type="button" class="btn03_bn" value="返回" onclick="window.location.replace('CollectorList.aspx');" />
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
